package com.bai.ruiji;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 27471
 * Time : 2022/10/6 10:28
 */
@SpringBootApplication
@Slf4j//Lambok提供的日志
@ServletComponentScan
@EnableTransactionManagement//开启事务支持
public class ruijiApplication {
    public static void main(String[] args) {
        SpringApplication.run(ruijiApplication.class,args);
       log.info("项目启动成功");
    }
}
